package com.huyang.thread;

public class ThreadTest {

	public static void main(String[] args) {
		Sample sample = new Sample();
		Thread thread1 = new IncreaseThread(sample);
		thread1.start();
		Thread thread3 = new IncreaseThread(sample);
		thread3.start();
		Thread thread2 = new DecreaseThread(sample);
		thread2.start();
		Thread thread4 = new DecreaseThread(sample);
		thread4.start();
	}

}
